package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CompanyForumTopic;

/**
 * 对象功能:  话题详情
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/3/16 15:28
 */
public class AgriculturalForumDetailAcrivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    CompanyForumTopic.actualObject topicContent =
        (CompanyForumTopic.actualObject) getIntent().getSerializableExtra(
            AgriculturalForumDetailFragment.EXTRA_VALUE);
    String from = getIntent().getStringExtra(AgriculturalForumDetailFragment.EXTRA_FROM);
    return AgriculturalForumDetailFragment.newInstance(topicContent, from);
  }
}
